package com.ease.platform.access.service.impl;

import java.util.List;

import com.ease.model.DatabaseColumn;
import com.ease.model.criteria.DatabaseColumnCriteria;
import com.ease.platform.access.service.DatabaseColumnAccessService;

/**
 * 
 * @author nathanleewei
 * 
 */
public class DatabaseColumnAccessServiceImpl extends AbstractParameterizedBeanJdbcTemplateAccessServiceImpl<DatabaseColumn> implements DatabaseColumnAccessService {

	public List<DatabaseColumn> findByTableName(String tableName) {
		DatabaseColumnCriteria databaseColumnCriteria = new DatabaseColumnCriteria();
		databaseColumnCriteria.setTableName(tableName);
		databaseColumnCriteria.setOwner(owner);
		return find(databaseColumnCriteria);
	}
}
